// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vue from 'vue'
import ElementUI from 'element-ui';
import App from './App'
import router from './router/index'
import 'element-ui/lib/theme-chalk/index.css';
import VueAxios from 'vue-axios'
import axios from 'axios'
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(VueAxios,axios)
Vue.use(ElementUI)

new Vue({
  el: '#app',
  router,
  components: { App
  },
  template: '<App/>'
})



//无效代码

// import Index from './view/Index'
// import Header from './components/Header'
// import Footer from './components/Footer'

// Vue.component('my-header',Header)
//
// Vue.component("my-footer",Footer)
// Vue.component('index',Index)


//测试页面效果
//  import Index from './view/Index'
// Vue.component("my-index",Index)
//Vue.config.productionTip = false
